/*
 * @Author: yuanjunyi
 * @Date: 2024-02-23 14:33:26
 * @LastEditors: 陈迪秀 1170776994@qq.com
 * @LastEditTime: 2024-02-27 11:19:38
 * @Description: this is description
 */
import "./styles/index.scss";

import { createApp } from "vue";
import pinia from './stores';
import HbSvgIcon from "./components/hb-svg-icon/index.vue";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import "virtual:svg-icons-register";

import App from "./App.vue";
import router from "./router";

const app = createApp(App);

// 挂载全局变量
app.config.globalProperties.$imgUrl = "https://gggj-fe.oss-cn-hangzhou.aliyuncs.com/steel-mall/";

app.component("HbSvgIcon", HbSvgIcon);

app.use(pinia);
app.use(router);
app.use(ElementPlus);

app.mount("#app");
